/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/11 15:00:36
 */
import request from '@/utils/request'

export function qr_user_couponAdd(data) {
  return request({
    url: '/wmyw/qr_user_coupon/add',
    method: 'post',
    data
  })
}

export function qr_user_couponUpdate(data) {
  return request({
    url: '/wmyw/qr_user_coupon/update',
    method: 'post',
    data
  })
}

export function qr_user_couponDel(data) {
  return request({
    url: '/wmyw/qr_user_coupon/del',
    method: 'post',
    data
  })
}

export function qr_user_couponSelect(data) {
  return request({
    url: '/wmyw/qr_user_coupon/select',
    method: 'post',
    data
  })
}

export function qr_user_couponSelectpage(data) {
  return request({
    url: '/wmyw/qr_user_coupon/selectpage',
    method: 'post',
    data
  })
}

export function qr_user_couponSelecttree(data) {
  return request({
    url: '/wmyw/qr_user_coupon/selecttree',
    method: 'get',
    params:data
  })
}

export function qr_user_couponInfo(data) {
  return request({
    url: '/wmyw/qr_user_coupon/info',
    method: 'get',
    params:data
  })
}